home *** CD-ROM | disk | FTP | other *** search
- Path: news.infi.net!usenet
- From: klaws@norfolk.infi.net (KlawS)
- Newsgroups: comp.lang.c++,rec.games.programmer,alt.msdos.programmer,comp.programming
- Subject: Re: Young programmers read me.
- Date: Sun, 07 Apr 1996 19:11:13 GMT
- Organization: InfiNet
- Message-ID: <4k93rk$9lq@nw002.infi.net>
- References: <4icpp9$7hr@barad-dur.nas.com> <4imqe4$cj3@ping1.ping.be> <1996Mar23.224853.116513@kuhub.cc.ukans.edu> <4j52hn$ikb@news.ios.com> <Pine.OSF.3.91.960403112207.17337H-100000@bud.cc.swin.edu.au> <aidan-0404961557290001@meathook.intac.com> <pnoguchi-0404962135210001@pnoguchi.his.com> <aidan-0604961847480001@meathook.intac.com>
- NNTP-Posting-Host: pa1dsp2.orf.infi.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- aidan@genghis.kublai.com (Aidan Cully) wrote:
- >Here you point out one of my greatest objections to the language as though
- >it were a feature... I agree that a programmer should be able to find his
- >own bugs, but loose syntax is just pointless, and makes the bug-hunt just
- >so much harder. I don't think that anyone should have the right to feel
- >macho about being able to figure out how to program in one language while
- >others can't unless the language has some spiffy new layer of abstraction
- >or something that people can't deal with (e.g. OOP), but otherwise it
- >seems like the language is badly designed. After gaining a mastery of
- >C++, then learning other OOP languages, I have come to the conclusion that
- >C++ is badly designed. For example, Function pointer will return an
- >integer, takes two ints as parameters. In C/C++
- > typedef (int*)(int a, int b) MyFuncType;
- > MyFuncType MyFunc;
- >in Oberon
- > TYPE
- > MyFuncType:FUNCTION( a, b:INTEGER ):INTEGER;
- > VAR
- > MyFunc:MyFuncType;
- >Which do you think looks more readable?
- To me, the former does. *shrug* I guess that's what happens when you
- skip pascal in the "learning trend"... (It's already a rather
- ambiguous command, in either language)
-
-
- ------------------------
- R o b e r t J a c o b s
- klaws@norfolk.infi.net
- ------------------------
-
-